package com.pope.framework.dict.modular.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病痛等级字典表
 * </p>
 *
 * @author superpope
 * @since 2019-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_triage_dict_sickness_grade")
@ApiModel(value="DictSicknessGrade对象", description="病痛等级字典表")
public class DictSicknessGrade implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "系统主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "排序")
    @TableField("ORDERS")
    private Integer orders;

    @ApiModelProperty(value = "编码")
    @TableField("CODE")
    private String code;

    @ApiModelProperty(value = "等级")
    @TableField("GRADE")
    private Integer grade;


}
